package cn.ibizlab.odoo.core.odoo_stock.service;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.util.Collection;
import java.math.BigInteger;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import cn.ibizlab.odoo.core.odoo_stock.domain.Stock_rules_report;
import cn.ibizlab.odoo.core.odoo_stock.filter.Stock_rules_reportSearchContext;

/**
 * 实体[Stock_rules_report] 服务对象接口
 */

public interface IStock_rules_reportService{
     void removeBatch(Collection<? extends Serializable> idList, int batchSize) ;
     boolean create(Stock_rules_report stock_rules_report) ;
     void createBatch(List<Stock_rules_report> stock_rules_reports, int batchSize) ;
     Stock_rules_report get(Integer id) ;
     Stock_rules_report get(Stock_rules_report stock_rules_report) ;
     boolean remove(Integer id) ;
     boolean update(Stock_rules_report stock_rules_report) ;
     void updateBatch(List<Stock_rules_report> stock_rules_reports, int batchSize) ;

    /**
     * 查询集合 默认查询
     */
    Page<Stock_rules_report> searchDefault(Stock_rules_reportSearchContext context) ;

    /**
     * 根据产品查询
     */
     Page<Stock_rules_report> selectByOdoo_product(Integer id) ;

    /**
     * 根据产品模板查询
     */
     Page<Stock_rules_report> selectByOdoo_product_tmpl(Integer id) ;

    /**
     * 根据用户查询
     */
     Page<Stock_rules_report> selectByOdoo_create(Integer id) ;

    /**
     * 根据用户查询
     */
     Page<Stock_rules_report> selectByOdoo_write(Integer id) ;

    /**
     * 转换ClientModel为Domain
     */
    public Stock_rules_report convert2Domain(cn.ibizlab.odoo.core.client.model.Istock_rules_report model ,Stock_rules_report domain);

    /**
     * 转换Domain为ClientModel
     */
    public cn.ibizlab.odoo.core.client.model.Istock_rules_report convert2Model(Stock_rules_report domain , cn.ibizlab.odoo.core.client.model.Istock_rules_report model);

}
